package com.tencent.entity;

import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

/**
 * @author: aiming    @date: 2022/8/12 17:47
 * @description:
 */
@Data
@NoArgsConstructor
public class PageResult implements Serializable {
    private Long total;//总记录数
    private List rows;//当前页结果
    public PageResult(Long total,List rows){
        super();
        this.total = total;
        this.rows = rows;
    }
}
